const express=require("express");

const mongoose=require("mongoose");
var users=require("./dbApi/users.js");
var articals=require("./dbApi/artical.js")
var msgboxs=require("./dbApi/msgbox.js")
var draftboxs=require("./dbApi/draftbox.js")
var comments=require("./dbApi/comment")
var app=new express();
app.use(users);
app.use(articals);
app.use(msgboxs);
app.use(draftboxs);
app.use(comments)
app.listen(3000,function(){
    console.log("serving start!")
})
